package org.web.clientlistmanager.demo.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.validation.annotation.Validated;
import org.web.clientlistmanager.client.config.ClmClientConfig;
import org.web.clientlistmanager.sdk.dto.LocalClientProcessDTO;
import org.web.clientlistmanager.sdk.dto.ClmRequest;
//import org.web.clientlistmanager.sdk.dto.LocalClientTypeListDTO;
//
//import java.util.ArrayList;
//import java.util.List;


@Configuration
@Validated
public class DemoConfig extends ClmClientConfig {

    @Override
    public ClmRequest<LocalClientProcessDTO> buildReportSelfEventRequestByLocalClientProcessDO(LocalClientProcessDTO localClientProcessDTO) {
//        List<LocalClientTypeListDTO> clientTypeList = new ArrayList<>();
//        localClientProcessDTO.setLocalClientTypeDetailDTOList(clientTypeList);
        ClmRequest<LocalClientProcessDTO> request = super.buildReportSelfEventRequestByLocalClientProcessDO(localClientProcessDTO);
        return request;
    }
}